﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="TrinhDo.aspx.cs" Inherits="DanhMucChung_TrinhDo" %>

<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitleContent" Runat="Server">
    <h2>Quản lý trình độ</h2>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="toolbarContent" Runat="Server">
      <li><a class="btn-add iframe" data-dimension="600|200" href="TrinhDoDetails.aspx?ac='them'">Thêm</a></li>
                                <li><a class="btn-edit iframe" data-dimension="800|200" href="TrinhDoDetails.aspx?ac='sua'">Sửa</a></li>
                                <li><a id="delete" class="btn-delete iframe" data-dimension="800|200" href="~/../../Delete.aspx?ac='TrinhDo'" >Xóa</a></li>
                              <li><a id="Refresh" class="btn-refresh" data-dimension="800|200" href="#" onclick="Refresh()">Nạp dữ liệu</a></li>

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentHeader" Runat="Server">
    
      <table>
                <tr>
                     <th class="col50">STT</th>
                    <th class="col200">Mã trình độ</th>
                    <th>Tên trình độ</th>
 
                </tr>
                 </table>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="bottomContent" Runat="Server">
   
<asp:ScriptManager ID="ScriptManager1" runat="server" />
  <asp:UpdatePanel ID="UpdatePanel1" runat="server">
               

                <ContentTemplate>

  <asp:Repeater ID="rptA" runat="server">
        <HeaderTemplate>
            <table>
        </HeaderTemplate>
        <ItemTemplate>
          
            <tr id="<%#Eval("Id")%>">
                 <td class="col50"><%= id++%></td>
                    <td class="col200"><%#Eval("SoTrinhDo")%></td>
                    <td><%#Eval("TenTrinhDo")%></td>
                  <%--  <td><%#Eval("")%></td>--%>
                </tr>
                 
        </ItemTemplate>
       <FooterTemplate>
            </table>
       </FooterTemplate>
    </asp:Repeater>
    
      </ContentTemplate>
            
            
                <Triggers>
              <%--      <asp:AsyncPostBackTrigger ControlID="Button1" />--%>
                </Triggers>
            

            </asp:UpdatePanel>
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="pageContent" Runat="Server">
    <cc1:CollectionPager ID="Cpage" runat="server"
            BackNextDisplay="HyperLinks" BackNextLinkSeparator="" 
            FirstText="" HideOnSinglePage="False" LastText="" 
            MaxPages="200" PageNumbersDisplay="Numbers" PageNumbersSeparator="&amp;nbsp;" 
            PageSize="14" PagingMode="QueryString" QueryStringKey="Page" 
            ShowFirstLast="False"  ShowLabel="False" ShowPageNumbers="True" BackText="Trang trước" 
            NextText="Trang tiếp" ResultsLocation="None" ResultsStyle="" LabelStyle="">
            </cc1:CollectionPager>
</asp:Content>


